package domain;

import java.sql.Timestamp;

public class VirtualFile {

    private int fid;
    private String fname;
    private String dept;
    private String speciality;
    private String description;
    private String uploader;
    private Timestamp uploadDateTime;
    private String MD5;

    public String getMD5() {
        return MD5;
    }

    public void setMD5(String MD5) {
        this.MD5 = MD5;
    }

    public VirtualFile() {
    }

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getSpeciality() {
        return speciality;
    }

    public void setSpeciality(String speciality) {
        this.speciality = speciality;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getUploader() {
        return uploader;
    }

    public void setUploader(String uploader) {
        this.uploader = uploader;
    }

    public Timestamp getUploadDateTime() {
        return uploadDateTime;
    }

    public void setUploadDateTime(Timestamp uploadDateTime) {
        this.uploadDateTime = uploadDateTime;
    }

    @Override
    public String toString() {
        return "VirtualFile{" +
                "fname='" + fname + '\'' +
                ", dept='" + dept + '\'' +
                ", speciality='" + speciality + '\'' +
                ", description='" + description + '\'' +
                ", uploader='" + uploader + '\'' +
                ", uploadDateTime=" + uploadDateTime +
                '}';
    }


}
